package cn.learn.async.restful;

import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Component;
import org.springframework.web.context.request.async.DeferredResult;

import java.util.HashMap;
import java.util.Map;

/**
 * @author huangyezhan
 * @version 1.0
 * @date 2021年08月19日22:24
 */
@Setter
@Getter
@Component
public class DeferredResultHolder {

    private Map<String, DeferredResult<String>> map = new HashMap<>();

}
